drm/vc4: Verify at boot that CMA doesn't cross a 256MB boundary.
authorEric Anholt <eric@anholt.net>
Mon, 12 Oct 2015 15:58:08 +0000 (08:58 -0700)
committerpopcornmix <popcornmix@gmail.com>
Mon, 20 Feb 2017 20:31:54 +0000 (20:31 +0000)
commit016c804fa69381bd23a1a13cba08a3c4557fcdff
treeb66c76b2e16fec249c558e01707f7f712318fd48
parent017320685c58c6904f33efa8d3606d0da08da835
drm/vc4: Verify at boot that CMA doesn't cross a 256MB boundary.

I've seen lots of users cranking CMA up higher, so throw an error if
they do.

Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/base/dma-contiguous.c
drivers/gpu/drm/vc4/vc4_v3d.c
mm/cma.c